home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / FMT_COPY / MDC.ZIP / MDC.DOC < prev    next >
Encoding:
Text File  |  1989-10-04  |  3.5 KB  |  95 lines

  1.  
  2.                       MDC - Multiple Disk Compare Service
  3.                                  Version 2.00
  4.  
  5.                      Copyright (C) 1989 by Michael Burton
  6.                              All Rights Reserved.
  7.  
  8.  
  9. MDC is a fast diskette comparison program.  It allows you to compare one 
  10. diskette against multiple copies of that diskette.  MDC reads the original 
  11. diskette, which we call the master, one time, and generates a CRC (cyclic 
  12. redundancy check - better than a checksum) for each track of the diskette.  It 
  13. then reads the copy diskette, generates a CRC for each track and compares the 
  14. CRCs generated against the master CRCs.  If all the CRCs compare ok, then 
  15. there is a 99.998% chance that the disks are identical.  We used the CRC to 
  16. make the comparison instead of a bit by bit compare because then MDC would 
  17. still work on an MSDOS system with minimal resources. 
  18.  
  19. The command line for MDC is
  20.  
  21.         MDC  [-mx]  [-cy]  [-ifilename]  [-ofilename]  [?]
  22.  
  23. The optional -mx parameter is the drive that contains the master diskette.  
  24. The optional -cy parameter is the drive that contains the copy.  Only drives A 
  25. and B are allowed for x and y.  The default for both is A:.  For example, 
  26. compare a master in drive A with copies in drive B:
  27.  
  28.         MDC -MA -CB
  29.  
  30. Instead of reading a master disk, you have the option of reading the CRCs from 
  31. a disk file that you have created with MDC.  For example, compare a master in 
  32. drive A with a copy in drive A and create a master CRC file for this master:
  33.  
  34.         MDC -OC:\MDC\TEST.CMP
  35.  
  36. Now that a CRC file has been created, you can compare copies in drive B with 
  37. that file: 
  38.  
  39.         MDC -IC:\MDC\TEST.CMP -CB
  40.  
  41. Note: The -m switch and the -i switch are mutually exclusive.  They cannot be 
  42. on the command line together.
  43.  
  44. The final command line switch is ?, which gives a short summary of how to use 
  45. MDC.  Example:
  46.  
  47.         A>MDC ?
  48.  
  49.         Command syntax is:
  50.  
  51.              MDC [-mx] [-cy] [-ifilename] [-ofilename]
  52.  
  53.         x is the master disk drive; y is the compare disk drive. The default
  54.         for x and y is A.  Only drives A and B are allowed.
  55.  
  56.         In place of -m you may use -i, which is a drive\path\filename of a
  57.         master disk CRC file that was previously saved with MDC using the -o
  58.         option.
  59.         Examples: Compare a master on drive A with copy(s) on drive B and save
  60.                   the master CRCs in file 12601.CRC:
  61.  
  62.              MDC -MA -CB -O12601.CRC
  63.  
  64.                   Read the master CRC file 12601.CRC and compare it with copy(s)
  65.                   in drive B:
  66.  
  67.              MDC -I12601.CRC -CB
  68.  
  69.         A>
  70.  
  71. MDC is capable of comparing all MSDOS diskette types, including: 
  72.  
  73.         5 1/4" Single sided, 8 sector  (160k)
  74.         5 1/4" Double sided, 8 sector  (320k)
  75.         5 1/4" Single sided, 9 sector  (180k)
  76.         5 1/4" Double sided, 9 sector  (360k)
  77.         5 1/4" High density, 15 sector (1.2m)
  78.         3 1/2" Double sided, 9 sector  (720k)
  79.         3 1/2" Double sided, 18 sector (1.44m)
  80.  
  81. MDC will not even try to compare two different type diskettes, e.g, a 160k 
  82. diskette against a 320k diskette, as they would obviously not compare 
  83. correctly. 
  84.  
  85. To perform its function, MDC uses MSDOS interrupt 21h, function 1ch (Get 
  86. Allocation Information) and interrupt 25h (Absolute Sector Read).  No other 
  87. MSDOS disk functions are used. 
  88.  
  89. I will answer questions or comments MDC if you write me:
  90.  
  91. Michael Burton
  92. 15540 Boot Hill Rd.
  93. Hayden Lake, ID  83835
  94.  
  95.